package benworks.java.util.stream;

import java.util.stream.IntStream;

public class IntStreamDemo {
	
	public static void main(String[] args) {
//		IntStream.of(new int[] { 1, 2, 3 }).forEach(System.out::println);
//		IntStream.range(1, 3).forEach(System.out::println);
		IntStream.rangeClosed(1, 3).forEach(System.out::println);
	}
}
